package com.intellagric.mapper;

import com.intellagric.pojo.AgriecomProduce;
import com.intellagric.pojo.AgriecomProduceExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AgriecomProduceMapper {
    long countByExample(AgriecomProduceExample example);

    int deleteByExample(AgriecomProduceExample example);

    int deleteByPrimaryKey(String produceId);

    int insert(AgriecomProduce record);

    int insertSelective(AgriecomProduce record);

    List<AgriecomProduce> selectByExampleWithBLOBs(AgriecomProduceExample example);

    List<AgriecomProduce> selectByExample(AgriecomProduceExample example);

    AgriecomProduce selectByPrimaryKey(String produceId);

    int updateByExampleSelective(@Param("record") AgriecomProduce record, @Param("example") AgriecomProduceExample example);

    int updateByExampleWithBLOBs(@Param("record") AgriecomProduce record, @Param("example") AgriecomProduceExample example);

    int updateByExample(@Param("record") AgriecomProduce record, @Param("example") AgriecomProduceExample example);

    int updateByPrimaryKeySelective(AgriecomProduce record);

    int updateByPrimaryKeyWithBLOBs(AgriecomProduce record);

    int updateByPrimaryKey(AgriecomProduce record);
}